package com.woniuxy.enjoylife.entity.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.woniuxy.enjoylife.entity.Recent;
import com.woniuxy.enjoylife.entity.User;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 评论详情实体
 */
@Data
@Accessors(chain = true)
public class RecentDetailDto implements Serializable {
    private static final long serialVersionUID = 1L;


    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    //发表动态的人的id
    private Integer uid;
    //发表时间
    private LocalDateTime time;
    //动态图片
    private String image;
    //点赞id
    private Integer agree_id;
    //动态内容
    private String content;
    //是否删除  0：未删除   1：已删除
    private Integer status;

    //评论人
    private User user;

}
